-- 默认浏览器
-- defaultBrowser = "Firefox.app"
-- defaultBrowser = "Safari.app"
-- defaultBrowser = 'Microsoft Edge.app'
defaultBrowser = 'Arc.app'

-- 通用图标
commonIcon = 'folder_01.icns'
-- 通用大小
commonSize = {
    h = 26,
    w = 26
}


require './Spoons/baseTools'
require './Spoons/window'
require './Spoons/menubar'
require './Spoons/wifi'
require './Spoons/hotkey'
require('hs.dialog')
require('hs.json')
require('hs.window')
require('hs.timer')


-- 旧版本
-- 任意字符=分隔符（eg：“分隔符"）
-- ["displayName"]=displayName，["icon"]=显示图标（icns目录中存在），["iconSize"]=["icon"]大小（若缺省默认使用commonSize）
-- ["openInFinder"]=本地路径（用于在finder中打开目录）
-- ["openApp"]=application的实际名字
-- ["openWeb"]=要打开的网址【["useBrower"]=制定打开该网页的浏览器的app名，eg：Safari，Microsoft Edge Dev，Google Chrome，若缺省走default["useBrower"]】
-- ["openWebList"]=与["openWeb"]互斥，要打开的网址群组【["useBrower"]=制定打开该网页群组的浏览器的app名，eg：Safari，Microsoft Edge Dev，Google Chrome，若缺省走defaultBrowser】
-- ["subMenu"]={}(用于配置subMenu)
-- ["openWithApp"]["useApp"]配合使用，缺一不可
-- ["cmdExe"]=shell命令
-- menuItems = {
--     -- 目录
--     {
--         ['displayName'] = 'WorldTourCasino',
--         ['openInFinder'] = '~/work/WorldTourCasino/',
--         ['icon'] = 'folder_09.icns',
--         ['subMenu'] = {
--             {
--                 ['displayName'] = 'scripts',
--                 ['openInFinder'] = '~/work/WorldTourCasino/scripts',
--                 ['icon'] = 'folder_01.icns'
--             },
--             {
--                 ['displayName'] = 'slots',
--                 ['openInFinder'] = '~/work/WorldTourCasino/src/newdesign_slot',
--                 ['icon'] = 'folder_02.icns'
--             }
--         }
--     },
--     {
--         ['displayName'] = 'WorldTourCasinoResource',
--         ['openInFinder'] = '~/work/WorldTourCasinoResource/',
--         ['icon'] = 'folder_09.icns',
--         ['subMenu'] = {
--             {
--                 ['displayName'] = 'oldvegas',
--                 ['openInFinder'] = '~/work/WorldTourCasinoResource/oldvegas',
--                 ['icon'] = 'folder_01.icns'
--             },
--             {
--                 ['displayName'] = 'doublehit',
--                 ['openInFinder'] = '~/work/WorldTourCasinoResource/doublehit',
--                 ['icon'] = 'folder_02.icns'
--             },
--             {
--                 ['displayName'] = 'doublex',
--                 ['openInFinder'] = '~/work/WorldTourCasinoResource/doublex',
--                 ['icon'] = 'folder_03.icns'
--             },
--             {
--                 ['displayName'] = 'vegasstar',
--                 ['openInFinder'] = '~/work/WorldTourCasinoResource/vegasstar',
--                 ['icon'] = 'folder_04.icns'
--             }
--         }
--     },
--     {
--         ['displayName'] = '文稿',
--         ['openInFinder'] = '~/Documents/',
--         ['icon'] = 'folder_03.icns',
--         ['iconSize'] = {
--             h = 25,
--             w = 26
--         }
--     },
--     {
--         ['displayName'] = '下载',
--         ['openInFinder'] = '~/Downloads/',
--         ['icon'] = 'folder_07.icns',
--         ['iconSize'] = {
--             h = 25,
--             w = 26
--         }
--     },
--     {
--         ['displayName'] = '应用程序',
--         ['openInFinder'] = '/Applications/',
--         ['icon'] = 'folder_10.icns',
--         ['iconSize'] = {
--             h = 25,
--             w = 26
--         }
--     },
--     '分隔符',
--     -- 工作网址
--     {
--         ['displayName'] = '工作网址',
--         ['icon'] = 'firefox.icns',
--         ['openApp'] = 'WebStorm.app',
--         ['openInFinder'] = '~/work/WorldTourCasino/',
--         -- ["useBrower"]="Google Chrome",
--         ['openWebList'] = {
--             'https://docs.google.com/spreadsheets/d/1Zn_ULWSIoq_6Bxz3DvHDKed-KS_OrcqTtrSLHmHvR2E/edit#gid=1399784065',
--             'https://docs.google.com/spreadsheets/d/1DmE-tJECOEXylhVRynuNGP7zsluk7ZEW-lza-TXcm6s/edit#gid=374618044',
--             'http://39.106.57.54:42453/',
--             'http://39.106.57.54:42456/browse/WTC-44572?filter=-1',
--             'http://autotest.dc.me2zengame.com'
--         },
--         ['subMenu'] = {
--             {
--                 ['displayName'] = '工作计划表',
--                 ['openWeb'] = 'https://docs.google.com/spreadsheets/d/1Zn_ULWSIoq_6Bxz3DvHDKed-KS_OrcqTtrSLHmHvR2E/edit#gid=1399784065',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '关卡数值表',
--                 ['openWeb'] = 'https://docs.google.com/spreadsheets/d/1DmE-tJECOEXylhVRynuNGP7zsluk7ZEW-lza-TXcm6s/edit#gid=374618044',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = 'Jinkens',
--                 ['openWeb'] = 'http://39.106.57.54:42453/',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = 'Jira',
--                 ['openWeb'] = 'http://39.106.57.54:42456/browse/WTC-44572?filter=-1',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '测试平台',
--                 ['openWeb'] = 'http://autotest.dc.me2zengame.com',
--                 ['icon'] = 'firefox 2.icns'
--             }
--         }
--     },
--     -- 功能文档
--     {
--         ['displayName'] = '功能文档',
--         ['icon'] = 'firefox.icns',
--         ['subMenu'] = {
--             {
--                 ['displayName'] = '运营messenger跳转需求2023',
--                 ['openWeb'] = 'https://docs.google.com/document/d/1xbcGrBHHaegZqxpdAkJXSeHhlOolXpM0mI09FTPNf9w/edit#',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = 'Club公会系统',
--                 ['openWeb'] = 'https://docs.google.com/document/d/1fOWLtvQ-wMK75MkBWZmbsHsKb2MjUksLzykhlRU6H6Q/edit#',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '关卡列表优化',
--                 ['openWeb'] = 'https://docs.google.com/document/d/1gAISw4OU1nDFQAVQ1Q64o83heP9RyagcnyBtRKpmUTI/edit#',
--                 ['icon'] = 'firefox 2.icns'
--             }
--         }
--     },
--     -- 关卡文档
--     {
--         ['displayName'] = '关卡文档',
--         ['icon'] = 'firefox.icns',
--         ['subMenu'] = {
--             {
--                 ['displayName'] = "207 Gummy Kingdom",
--                 ['openWeb'] = 'https://docs.google.com/document/d/1G-5ZVAaXf2pQhlQUtXLmjVDnR91UgmRa98Wu09vr1ek/edit',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = "215 CHILI'S LOCK",
--                 ['openWeb'] = 'https://docs.google.com/document/d/1NeNAKvTp5QVaTTvlJt7YlzlwplCrx-ltD3jXrgWhqmI/edit#',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '211 Triple Gems Deluxe',
--                 ['openWeb'] = 'https://docs.google.com/document/d/1GvmeSCz8HocWPVy0XTLYGq4J1ulmntdip9kV8ZCWJrI/edit#',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '214 Crazy Party Night',
--                 ['openWeb'] = 'https://docs.google.com/document/d/1cUlbIUWzrBN9pQVJ2TiLmlNo4NCujU8E-0OXwbBxles/edit?usp=sharing',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '205 Witching Pot',
--                 ['openWeb'] = 'https://docs.google.com/document/d/1pwAoMYoV9qwgTwqlJ3ldd0TIaRD_FWbhzAt1R1uua0g/edit',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '210 Easter Eggs Feast',
--                 ['openWeb'] = 'https://docs.google.com/document/d/1C_PE3tE2BA-WFEIB3xndNdf_8TYedEUS7ILy16VjEWY/edit#',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '204 St.Paddy’s Clover',
--                 ['openWeb'] = 'https://docs.google.com/document/d/1l3vfJKg1kI8YYBuLn4t6IXTMyOiO5E1KUZn8PBjuR6g/edit#',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '170 Dashing Win',
--                 ['openWeb'] = 'https://docs.google.com/document/d/1gB1lK5Lgy0MEAdq-QQT5meSxkBsN5Ua3Z1f2y24J64E/edit#heading=h.i9tr4ihum0vu',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '202 Celestial Dragon',
--                 ['openWeb'] = 'https://docs.google.com/document/d/1uRQukEXgsLW0CafPEGIw7NC_SOa1V-_8W0vpDvlaETM/edit#heading=h.qqqjk0xrkr53',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '203 Flaming Gems',
--                 ['openWeb'] = 'https://docs.google.com/document/d/1jRqf9i1PDLOag9CVXfkQ01nN6anyPyFDF964wy95Hbk/edit#',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '201 Winning Streak',
--                 ['openWeb'] = 'https://docs.google.com/document/d/1jakWIAGQy8cid0yUps2lUi8VRvhtgC8kMVLyQ5c3GNA/edit?usp=sharing',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '196 Santa‘s Gift',
--                 ['openWeb'] = 'https://docs.google.com/document/d/1rstvHLvZOAIXQIPw0SMRStwUXHo4TIzPFQEEL_rsCSU/edit#',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '199 Crazy Dollar',
--                 ['openWeb'] = 'https://docs.google.com/document/d/1nRT_XlAdpgsF3G4Fhq8JoljhZjHO3rH3fUgPDgRRVs4/edit?usp=sharing',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '198 Frozen Wilds',
--                 ['openWeb'] = 'https://docs.google.com/document/d/1E1-4UPs3RVjO4b46KkL0ph6Mpn96ZdgJzk2py47vA2E/edit#heading=h.6k9pq6ea9hu9',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '190 Power Of Scarab',
--                 ['openWeb'] = 'https://docs.google.com/document/d/1_VNSRpxxZ_Cn5dTIg8WxhhbfZ8aCmVY8pwGF3c_KxLU/edit#',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '192 Vibrant Diamonds',
--                 ['openWeb'] = 'https://docs.google.com/document/d/1EaNWcVAilK5UKP5F82ThiTvSFaRFnMhjFfsePbPr7Vk/edit',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '197 Millionaire’s Riches',
--                 ['openWeb'] = 'https://docs.google.com/document/d/11vqr5BXZ4U74nHQGLQhQW1n2wKJPwsPGRLk8X7Vpq6Q/edit#heading=h.gx0l8du2vpje',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '195 Bingo Party',
--                 ['openWeb'] = 'https://docs.google.com/document/d/1-4t08cLLOq5BZaqQdYJym_dF4LlJkBHNgzQG3geD2as/edit?usp=sharing',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '194 Double Bullseye Combo',
--                 ['openWeb'] = 'https://docs.google.com/document/d/1fnLqMH2oRtV2ZL5eF4L16IJB2OIqsV4yvQ-Dhp5rSUA/edit#heading=h.yx140mfer3fk',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '189 Fireball Madness',
--                 ['openWeb'] = 'https://docs.google.com/document/d/11yhJYpvXUkYuTsY8IIbpt0gRBXeWDKowicVbI8bBBP4/edit',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '187 Mega Wild Fever',
--                 ['openWeb'] = 'https://docs.google.com/document/d/1-svvTDHTcsgWVt5-BOueLsDco10cY9LpLCAnzT6FuwQ/edit',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '193 Freedom of Glory',
--                 ['openWeb'] = 'https://docs.google.com/document/d/1Y7i1JlTvL8-MQkfFIMOz7ZABLnEU2UP-f9iLr9J7NU0/edit#heading=h.b520ls9tqe4o',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '183 Gem Slam',
--                 ['openWeb'] = 'https://docs.google.com/document/d/1jSNcxOhP0hhKeXrx2H9nozOh-KAUw6OefpErpL8zPRo/edit',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '188 Double Wild Blazing 7’s',
--                 ['openWeb'] = 'https://docs.google.com/document/d/1xW_BL4blvBQSYwtrrc9Qz-73pyelRRWJt7aYaPsHGow/edit?pli=1#',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '177 High Power Machine',
--                 ['openWeb'] = 'https://docs.google.com/document/d/1HerH1hQwHp8z9ONbBxB0TBBJoHldWJ5-pYb3EmwKKPI/edit?pli=1#',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '182 Stack The Wealth',
--                 ['openWeb'] = 'https://docs.google.com/document/d/1Y4CkG676MvdVm-2oD2-msJzxXXadE8bprCiIxDEls2Q/edit#heading=h.6k9pq6ea9hu9',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '186 Diamond Spree',
--                 ['openWeb'] = 'https://docs.google.com/document/d/143a14gPNiuQ3OTw-jzFpiekyq31STP2xJkOnXmuHMXM/edit?pli=1#',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '174 Grand Clover Trio',
--                 ['openWeb'] = 'https://docs.google.com/document/d/1VkG32NnHjdRDMfh_71tjGrz0SGE3EjxeSPkMgrS4Srk/edit',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '175 Royal Hits',
--                 ['openWeb'] = 'https://docs.google.com/document/d/1y5EcW_5OrI3zTohd8z5Tw-CYrnW1RewtJqtRDAF48Xg/edit#heading=h.u35499xhvk3i',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '178 Lush Love',
--                 ['openWeb'] = 'https://docs.google.com/document/d/1nktchvrq3uSM_g8Oii7gnAYZVQunl5l27jV-h9Dha54/edit',
--                 ['icon'] = 'firefox 2.icns'
--             },
--             {
--                 ['displayName'] = '173 Oriental Riches',
--                 ['openWeb'] = 'https://docs.google.com/document/d/1v5QO_4Me9hlj7t-DWUw8h_yUReVI0y6_zxvgQ8EDMoc/edit?pli=1#',
--                 ['icon'] = 'firefox 2.icns'
--             }
--         }
--     },
--     -- cocosBuilder
--     {
--         ['displayName'] = 'slot资源工程',
--         ['icon'] = 'CocosBuilderProjectIcon.icns',
--         ['openApp'] = 'CocosBuilder',
--         ['subMenu'] = {
--             {
--                 ['displayName'] = '168-170',
--                 ['icon'] = 'CocosBuilderDocIcon.icns',
--                 ['openWithApp'] = '~/work/WorldTourCasinoResource/theme168-170/theme168-170.ccbproj',
--                 ['useApp'] = 'CocosBuilder',
--                 ['subMenu'] = {
--                     {
--                         ['displayName'] = '到目录',
--                         ['openInFinder'] = '~/work/WorldTourCasinoResource/theme168-170/'
--                     }
--                 }
--             },
--             {
--                 ['displayName'] = '177-179',
--                 ['icon'] = 'CocosBuilderDocIcon.icns',
--                 ['openWithApp'] = '~/work/WorldTourCasinoResource/theme177-179/theme177-179.ccbproj',
--                 ['useApp'] = 'CocosBuilder',
--                 ['subMenu'] = {
--                     {
--                         ['displayName'] = '到目录',
--                         ['openInFinder'] = '~/work/WorldTourCasinoResource/theme177-179/'
--                     }
--                 }
--             },
--             {
--                 ['displayName'] = '180-182',
--                 ['icon'] = 'CocosBuilderDocIcon.icns',
--                 ['openWithApp'] = '~/work/WorldTourCasinoResource/theme180-182/theme180-182.ccbproj',
--                 ['useApp'] = 'CocosBuilder',
--                 ['subMenu'] = {
--                     {
--                         ['displayName'] = '到目录',
--                         ['openInFinder'] = '~/work/WorldTourCasinoResource/theme180-182/'
--                     }
--                 }
--             },
--             {
--                 ['displayName'] = '183-185',
--                 ['icon'] = 'CocosBuilderDocIcon.icns',
--                 ['openWithApp'] = '~/work/WorldTourCasinoResource/theme183-185/theme183-185.ccbproj',
--                 ['useApp'] = 'CocosBuilder',
--                 ['subMenu'] = {
--                     {
--                         ['displayName'] = '到目录',
--                         ['openInFinder'] = '~/work/WorldTourCasinoResource/theme183-185/'
--                     }
--                 }
--             },
--             {
--                 ['displayName'] = '186-188',
--                 ['icon'] = 'CocosBuilderDocIcon.icns',
--                 ['openWithApp'] = '~/work/WorldTourCasinoResource/theme186-188/theme186-188.ccbproj',
--                 ['useApp'] = 'CocosBuilder',
--                 ['subMenu'] = {
--                     {
--                         ['displayName'] = '到目录',
--                         ['openInFinder'] = '~/work/WorldTourCasinoResource/theme186-188/'
--                     }
--                 }
--             },
--             {
--                 ['displayName'] = '189-191',
--                 ['icon'] = 'CocosBuilderDocIcon.icns',
--                 ['openWithApp'] = '~/work/WorldTourCasinoResource/theme189-191/theme189-191.ccbproj',
--                 ['useApp'] = 'CocosBuilder',
--                 ['subMenu'] = {
--                     {
--                         ['displayName'] = '到目录',
--                         ['openInFinder'] = '~/work/WorldTourCasinoResource/theme189-191/'
--                     }
--                 }
--             },
--             {
--                 ['displayName'] = '192-194',
--                 ['icon'] = 'CocosBuilderDocIcon.icns',
--                 ['openWithApp'] = '~/work/WorldTourCasinoResource/theme192-194/theme192-194.ccbproj',
--                 ['useApp'] = 'CocosBuilder',
--                 ['subMenu'] = {
--                     {
--                         ['displayName'] = '到目录',
--                         ['openInFinder'] = '~/work/WorldTourCasinoResource/theme192-194/'
--                     }
--                 }
--             },
--             {
--                 ['displayName'] = '195-197',
--                 ['icon'] = 'CocosBuilderDocIcon.icns',
--                 ['openWithApp'] = '~/work/WorldTourCasinoResource/theme195-197/theme195-197.ccbproj',
--                 ['useApp'] = 'CocosBuilder',
--                 ['subMenu'] = {
--                     {
--                         ['displayName'] = '到目录',
--                         ['openInFinder'] = '~/work/WorldTourCasinoResource/theme195-197/'
--                     }
--                 }
--             },
--             {
--                 ['displayName'] = '198-200',
--                 ['icon'] = 'CocosBuilderDocIcon.icns',
--                 ['openWithApp'] = '~/work/WorldTourCasinoResource/theme198-200/theme198-200.ccbproj',
--                 ['useApp'] = 'CocosBuilder',
--                 ['subMenu'] = {
--                     {
--                         ['displayName'] = '到目录',
--                         ['openInFinder'] = '~/work/WorldTourCasinoResource/theme198-200/'
--                     }
--                 }
--             },
--             {
--                 ['displayName'] = '201-203',
--                 ['icon'] = 'CocosBuilderDocIcon.icns',
--                 ['openWithApp'] = '~/work/WorldTourCasinoResource/theme201-203/theme201-203.ccbproj',
--                 ['useApp'] = 'CocosBuilder',
--                 ['subMenu'] = {
--                     {
--                         ['displayName'] = '到目录',
--                         ['openInFinder'] = '~/work/WorldTourCasinoResource/theme201-203/'
--                     }
--                 }
--             },
--             {
--                 ['displayName'] = '204-206',
--                 ['icon'] = 'CocosBuilderDocIcon.icns',
--                 ['openWithApp'] = '~/work/WorldTourCasinoResource/theme204-206/theme204-206.ccbproj',
--                 ['useApp'] = 'CocosBuilder',
--                 ['subMenu'] = {
--                     {
--                         ['displayName'] = '到目录',
--                         ['openInFinder'] = '~/work/WorldTourCasinoResource/theme204-206/'
--                     }
--                 }
--             },
--             {
--                 ['displayName'] = '207-209',
--                 ['icon'] = 'CocosBuilderDocIcon.icns',
--                 ['openWithApp'] = '~/work/WorldTourCasinoResource/theme207-209/theme207-209.ccbproj',
--                 ['useApp'] = 'CocosBuilder',
--                 ['subMenu'] = {
--                     {
--                         ['displayName'] = '到目录',
--                         ['openInFinder'] = '~/work/WorldTourCasinoResource/theme207-209/'
--                     }
--                 }
--             },
--             {
--                 ['displayName'] = '210-212',
--                 ['icon'] = 'CocosBuilderDocIcon.icns',
--                 ['openWithApp'] = '~/work/WorldTourCasinoResource/theme210-212/theme210-212.ccbproj',
--                 ['useApp'] = 'CocosBuilder',
--                 ['subMenu'] = {
--                     {
--                         ['displayName'] = '到目录',
--                         ['openInFinder'] = '~/work/WorldTourCasinoResource/theme210-212/'
--                     }
--                 }
--             },
--             {
--                 ['displayName'] = '213-215',
--                 ['icon'] = 'CocosBuilderDocIcon.icns',
--                 ['openWithApp'] = '~/work/WorldTourCasinoResource/theme213-215/theme213-215.ccbproj',
--                 ['useApp'] = 'CocosBuilder',
--                 ['subMenu'] = {
--                     {
--                         ['displayName'] = '到目录',
--                         ['openInFinder'] = '~/work/WorldTourCasinoResource/theme213-215/'
--                     }
--                 }
--             },
--             {
--                 ['displayName'] = 'theme219-221',
--                 ['icon'] = 'CocosBuilderDocIcon.icns',
--                 ['openWithApp'] = '~/work/WorldTourCasinoResource/themetheme219-221/themetheme219-221.ccbproj',
--                 ['useApp'] = 'CocosBuilder',
--                 ['subMenu'] = {
--                     {
--                         ['displayName'] = '到目录',
--                         ['openInFinder'] = '~/work/WorldTourCasinoResource/themetheme219-221/'
--                     }
--                 }
--             }
--         }
--     },
--     {
--         ['displayName'] = '资源工程',
--         ['icon'] = 'CocosBuilderProjectIcon.icns',
--         ['openApp'] = 'CocosBuilder_副本',
--         ['subMenu'] = {
--             {
--                 ['displayName'] = 'oldvegas',
--                 ['icon'] = 'CocosBuilderDocIcon.icns',
--                 ['openWithApp'] = '~/work/WorldTourCasinoResource/oldvegas/oldvegas.ccbproj',
--                 ['useApp'] = 'CocosBuilder_副本'
--             },
--             {
--                 ['displayName'] = 'doublehit',
--                 ['icon'] = 'CocosBuilderDocIcon.icns',
--                 ['openWithApp'] = '~/work/WorldTourCasinoResource/doublehit/doublehit.ccbproj',
--                 ['useApp'] = 'CocosBuilder_副本'
--             },
--             {
--                 ['displayName'] = 'doublex',
--                 ['icon'] = 'CocosBuilderDocIcon.icns',
--                 ['openWithApp'] = '~/work/WorldTourCasinoResource/doublex/doublex.ccbproj',
--                 ['useApp'] = 'CocosBuilder_副本'
--             },
--             {
--                 ['displayName'] = 'vegasstar',
--                 ['icon'] = 'CocosBuilderDocIcon.icns',
--                 ['openWithApp'] = '~/work/WorldTourCasinoResource/vegasstar/vegasstar.ccbproj',
--                 ['useApp'] = 'CocosBuilder_副本'
--             }
--         }
--     },
--     '分隔符', -- 常用应用
--     {
--         ['displayName'] = '邮件',
--         ['openApp'] = 'Mail.app',
--         ['icon'] = 'mail.icns'
--     },
--     {
--         ['displayName'] = '终端',
--         ['openApp'] = 'Terminal.app',
--         ['icon'] = 'Terminal.icns'
--     },
--     {
--         ['displayName'] = 'Fork',
--         ['openApp'] = 'Fork.app',
--         ['icon'] = 'Fork.icns'
--     },
--     '分隔符',
--     {
--         ['displayName'] = 'WebStorm',
--         ['openApp'] = 'WebStorm.app',
--         ['icon'] = 'webstorm.icns'
--     },
--     {
--         ['displayName'] = 'VSCode',
--         ['openApp'] = 'Visual Studio Code.app',
--         ['icon'] = 'Code.icns'
--     },
--     {
--         ['displayName'] = 'Sublime Text',
--         ['openApp'] = 'Sublime Text.app',
--         ['icon'] = 'Sublime Text.icns'
--     },
--     {
--         ['displayName'] = 'AndroidStudio',
--         ['openApp'] = 'Android Studio.app',
--         ['icon'] = 'studio.icns'
--     },
--     '分隔符', -- 配置
--     {
--         ['displayName'] = '发布CCB',
--         ['icon'] = 'Terminal.icns',
--         ['openWithApp'] = '~/toolkits/me2zen/ccbPublish.sh',
--         ['useApp'] = 'Terminal'
--     },
--     {
--         ['displayName'] = 'Jenkins发版',
--         ['icon'] = 'Terminal.icns',
--         ['openWithApp'] = '~/toolkits/me2zen/slotJenkins/publish2Jenkins.sh',
--         ['useApp'] = 'Terminal'
--     },
--     {
--         ['displayName'] = '工具配置',
--         ['icon'] = 'dev.icns',
--         ['openWithApp'] = '~/toolkits',
--         ['useApp'] = 'Visual Studio Code',
--         ['subMenu'] = {
--             {
--                 ['displayName'] = 'config.ini',
--                 ['icon'] = 'AppIcon.icns',
--                 ['openWithApp'] = '~/toolkits/me2zen/config.ini',
--                 ['useApp'] = 'Visual Studio Code'
--             }
--         }
--     },
--     '分隔符',
--     {
--         ['displayName'] = 'bash_profile [local]',
--         ['icon'] = 'AppIcon.icns',
--         ['openWithApp'] = '~/.bash_profile',
--         ['useApp'] = 'Visual Studio Code'
--     },
--     {
--         ['displayName'] = 'bash_profile [custom]',
--         ['icon'] = 'AppIcon.icns',
--         ['openWithApp'] = '~/.hammerspoon/.bash_profile',
--         ['useApp'] = 'Visual Studio Code'
--     },
--     {
--         ['displayName'] = '刷新bash_profile',
--         ['cmdExe'] = 'source ~/.bash_profile',
--         ['icon'] = 'dev.icns'
--     }
-- }
